package com.wzx.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.user.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/4/10 - 21:29
 * @description 标题
 */
@Data
@TableName("t_redpkg_rob")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "RedPkgRob", description = "红包记录")
public class RedPkgRob  extends BasePojo {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer id;

    @TableField(value = "redPkgId")
    @ApiModelProperty(notes = "红包发布表")
    private Integer redPkgId;

    @TableField("robUserId")
    @ApiModelProperty(value = "抢红包用户id")
    private Integer robUserId;

    @TableField("robAmount")
    @ApiModelProperty(value = "抢红包金额")
    private Integer robAmount;

    @TableField("isBest")
    @ApiModelProperty(value = "是否为手气最佳")
    private String isBest;


}
